import React, { Component } from 'react';
import hoc from './hoc'

class App extends Component {

    componentDidMount() {
        console.log('props:',this.props)
    }
  
    render() {
    
    return (
        <div>
            <h2>演示高阶组件功能---{this.props.title }</h2>
        </div>
    );
  }
}

export default hoc(App)
